package com.stp.event.entity;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

/**
 * 事件类
 */
@Getter
@Setter
public class PayApplicationEvent extends ApplicationEvent {

    private PayEventModel eventModel;

    public PayApplicationEvent(Object source) {
        super(source);
    }

    public PayApplicationEvent(Object source, PayEventModel eventModel) {
        super(source);
        this.eventModel = eventModel;
    }

}
